[INFO] fetching crate twirl 0.1.1...
[INFO] checking twirl-0.1.1 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate twirl 0.1.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate twirl 0.1.1 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate twirl 0.1.1
[INFO] finished tweaking crates.io crate twirl 0.1.1
[INFO] tweaked toml for crates.io crate twirl 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00cc2cd42643d0e75f442d42688c0175e3066c62034d1362335763d7f414d89c
[INFO] running `Command { std: "docker" "start" "-a" "00cc2cd42643d0e75f442d42688c0175e3066c62034d1362335763d7f414d89c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00cc2cd42643d0e75f442d42688c0175e3066c62034d1362335763d7f414d89c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00cc2cd42643d0e75f442d42688c0175e3066c62034d1362335763d7f414d89c", kill_on_drop: false }`
[INFO] [stdout] 00cc2cd42643d0e75f442d42688c0175e3066c62034d1362335763d7f414d89c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0b1e581f092281241c382e1d345ca0033cf757564c85c0dfb8d09a8c5b54a096
[INFO] running `Command { std: "docker" "start" "-a" "0b1e581f092281241c382e1d345ca0033cf757564c85c0dfb8d09a8c5b54a096", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]     Checking ring v0.16.20
[INFO] [stderr]     Checking parking_lot_core v0.6.3
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking openssl v0.10.55
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]    Compiling tokio-macros v0.2.0-alpha.6
[INFO] [stderr]     Checking tower-service v0.3.0-alpha.2
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking backtrace v0.3.67
[INFO] [stderr]     Checking tokio-sync v0.2.0-alpha.6
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking http-body v0.2.0-alpha.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking tokio-executor v0.2.0-alpha.6
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking tokio-io v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-codec v0.2.0-alpha.6
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]     Checking tokio-fs v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-net v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-timer v0.3.0-alpha.6
[INFO] [stderr]     Checking h2 v0.2.0-alpha.3
[INFO] [stderr]     Checking tower-make v0.3.0-alpha.2a
[INFO] [stderr]     Checking futures-executor v0.3.28
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]     Checking async-tls v0.9.0
[INFO] [stderr]    Compiling protobuf-codegen-pure v2.28.0
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking tokio v0.2.0-alpha.6
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking ffi-support v0.3.5
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]     Checking native-tls v0.2.11
[INFO] [stderr]     Checking tokio-tls v0.3.0-alpha.6
[INFO] [stderr]     Checking hyper v0.13.0-alpha.4
[INFO] [stderr]    Compiling connect v0.1.2
[INFO] [stderr]     Checking hyper-tls v0.4.0-alpha.4
[INFO] [stderr]     Checking twirl v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                            ---- binding `call` declared here
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                            ---- binding `call` declared here
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of method
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the method body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the method body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&'a mut self, call: TwitchAPICall<'_<'a>, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++   ++                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&'a mut self, call: TwitchAPICall<'_<'a>, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++   ++                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                            ---- binding `call` declared here
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                            ---- binding `call` declared here
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of method
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the method body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the method body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&'a mut self, call: TwitchAPICall<'_<'a>, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++   ++                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&'a mut self, call: TwitchAPICall<'_<'a>, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++   ++                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` (lib test) due to 23 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` (lib) due to 23 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0b1e581f092281241c382e1d345ca0033cf757564c85c0dfb8d09a8c5b54a096", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b1e581f092281241c382e1d345ca0033cf757564c85c0dfb8d09a8c5b54a096", kill_on_drop: false }`
[INFO] [stdout] 0b1e581f092281241c382e1d345ca0033cf757564c85c0dfb8d09a8c5b54a096
